package com.xyh.transaction.entity;

import com.xyh.transaction.common.MessageType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message extends BaseEntity {

    private Integer userId;

    private MessageType messageType;

    private String title;

    private String content;

    private Integer read;// 0:未读 1:已读
}
